DELETE DLL

This command will delete a previously loaded DLL.

  Syntax
DELETE DLL DLL Number
  Parameters
DLL Number
Integer
The DLL Number must be an integer value between 1 and 256

  Returns

This command does not return a value.

  Description

If the DLL does not exist this command will fail. The DLL Number must be an integer value between 1 and 256.

  Example Code
cls
print "Loading DLL..."
LOAD DLL "TestDLL.dll",1
if DLL EXIST(1)=1
print "Calling DLL Function...";
if DLL CALL EXIST(1, "?MyFunc@@YAXXZ")=1
print "okay."
CALL DLL 1, "?MyFunc@@YAXXZ"
else
print "does not exist."
endif
print "Calling DLL Function with Return Value...";
if DLL CALL EXIST(1, "?MyFunc@@YAHH@Z")=1
print CALL DLL(1, "?MyFunc@@YAHH@Z")
else
print "does not exist."
endif
print "Deleting DLL..."
DELETE DLL 1
else
print "not loaded."
endif
do
loop
end
  See also

SYSTEM Commands Menu
Index